<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
	contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title>金融机构编辑</title>
<script src="${contextPath}/scripts/jquery/jquery-1.8.3.min.js"
	type="text/javascript"></script>
<script src="${contextPath}/scripts/scriptvalidator.js" type="text/javascript"></script>
<script src="${contextPath}/scripts/common.js" type="text/javascript"></script>
<script src="${contextPath}/scripts/My97DatePicker/WdatePicker.js"
	type="text/javascript"></script>
<link href="${contextPath}/styles/default.css" rel="stylesheet"
	type="text/css" />
</head>
<body leftmargin='8px' topmargin='8px'>
	<div class="navigation">
		<span><a href="javascript:window.history.back();"><img
				src="${contextPath}/images/back_nav_btn.png" /></a> <a
			href="javascript:window.history.back();">返回</a> <a
			href="javascript:window.history.forward();"><img
				src="${contextPath}/images/go_nav_btn.png" /></a> <a
			href="javascript:window.history.forward();">前进</a> <a
			href="javascript:window.location.reload();"><img
				src="${contextPath}/images/refresh_nav_btn.png" /></a> <a
			href="javascript:window.location.reload();">刷新</a> </span>系统管理&gt;&gt;金融机构管理&gt;&gt;编辑
		<input type="hidden" name="redirectUrl"
			value="<s:property value='redirectUrl'/>" />
	</div>
	<table width="100%" border="0" align="center" cellpadding="0"
		cellspacing="0">
		<tr>
			<td align="center" valign="top" bgcolor="#FFFFFF">
				<div class="xt_main_right_center">
					<form name="form1" action="update.do" onsubmit="return Validator.Validate(this,3)"
						method="post">
						<input type="hidden" name="f.id" value="${f.id }"/>
						<input type="hidden" name="f.isDelete" value="${f.isDelete }"/>
						<table width="100%" border="0" align="center" cellpadding="0"
							cellspacing="0">
							<tr>
								<td class="right-td-width-bg"><font color="red" size="2">* </font>金融机构名称：</td>
								<td>
									<input type="text" name="f.name" class="input" value="${f.name}" dataType="Unique|Require" msg="金融机构名称必须是唯一|金融机构不能为空" classType="com.jysz.certificate.persistence.model.system.Financial" valProperty="name" entityId="${f.id}" contextPath="${contextPath}"/>
								</td>
								<td class="right-td-width-bg"><font color="red" size="2">* </font>是否为金融机构开票：</td>
								<td align="left">
									&nbsp;&nbsp;<label><input type="radio" name="f.billing" value="0" <s:if test="f.billing==0">checked</s:if>/>是</label>
									<label><input type="radio" name="f.billing" value="1" <s:if test="f.billing==1">checked</s:if>/>否</label>
								</td>
							</tr>
							<tr>
								<td class="right-td-width-bg"><font color="red" size="2">* </font>客户经理：</td>
								<td><input type="text" name="f.manager" class="input" value="${f.manager }" dataType="Require"  msg="客户经理不能为空"/></td>
								<td class="right-td-width-bg"><font color="red" size="2">* </font>联系电话：</td>
								<td><input type="text" name="f.telephone" class="input" value="${f.telephone }" dataType="Require|Mobile"  msg="客户经理不能为空|手机号码格式错误"/></td>
							</tr>
							<tr>
								<td class="right-td-width-bg"><font color="red" size="2">* </font>地址：</td>
								<td><input type="text" name="f.address" class="input"  value="${f.address }" dataType="Require"  msg="地址不能为空"/></td>
								<td class="right-td-width-bg"><font color="red" size="2">* </font>简码：</td>
								<td><input type="text" name="f.brief" class="input" value="${f.brief }" dataType="Require"  msg="简码不能为空"/></td>
							</tr>
							<tr>
								<td class="right-td-width-bg"><font color="red" size="2">* </font>管理费收取设置：</td>
								<td align="left">
									&nbsp;&nbsp;<label><input type="checkbox" name="f.isOpenBill" value="0" <s:if test="f.isOpenBill==0">checked</s:if>/>发车日期</label>
									<label><input type="checkbox" name="f.isOpenReleteBill" value="1" <s:if test="f.isOpenReleteBill==1">checked</s:if>/>释放日期</label>
									<input type="checkbox" name="f.isOpenmoneyStockBill" value="2" <s:if test="f.isOpenmoneyStockBill==2">checked</s:if>/>在库收取
								</td>
								<td class="right-td-width-bg"><font color="red" size="2">* </font>二网回库提示天数：</td>
								<td> 
								<input type="text" name="f.fatalism" class="input" value="${f.fatalism}"  dataType="Require|Double"  msg="二网回库提示天数不能为空|请输入数字"/>
								</td>
							</tr>
							<tr>
								<td colspan="4" align="right"><input type="submit"
									class="btn_submit" value="" /> <input type="reset"
									class="btn_rest" value="" /></td>
							</tr>
						</table>
					</form>
				</div>
			</td>
		</tr>
	</table>
</body>
</html>